//
//  DownLoadManager.h
//  CapriceMusic
//
//  Created by dllo on 16/1/19.
//  Copyright © 2016年 MYX. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DownLoadManager : NSObject<NSURLSessionDownloadDelegate,NSURLSessionDataDelegate>

@property (nonatomic, assign) BOOL isdownloading;

@property (nonatomic, strong) NSData *resumeData;

@property (nonatomic, strong) NSURLSession *session;

@property (nonatomic, strong) DataBaseHandle *dataBaseHandle;

@property(strong, nonatomic)NSURLSessionDownloadTask *downloadTask;

@property (nonatomic, assign) CGFloat num;

+ (DownLoadManager *)shareDownLoadManager;

- (void)downLoad:(NSString *)url;

@end

